package com.week2.day02;

import java.lang.reflect.Array;
import java.util.Arrays;

public class Demo01 {
    public static void main(String[] args) {
        int num = 5;
        Weapon weapon = new Weapon();
        Weapon[] weapons = new Weapon[num];
        for (int j = 0; j < num; j++) {
            weapons[j]=weapon.randomWeapon();
        }
        System.out.println(Arrays.toString(weapons));
    }

}
